Skip to main content

scrollerScrollToTop

Type

message

Summary

Sent when a scroller is scrolled to the top by touching the status bar.

Syntax

scrollerScrollToTop

Description

The scrollerScrollToTop message is sent when a UIScrollView scroller control is scrolled to the top when you touch the status bar.

Handle the scrollerScrollToTop message if you want to move LiveCode controls, make changes to the interface or set the appropriate scroll properties of groups and fields to get a native scrolling effect.

The scrollerScrollToTop message is sent to the object containing the script that created the UIScrollView scroller control.

Examples

on scrollerScrollToTop
put "Scrolled to top" into field "scroller status"
end scrollerScrollToTop

command: mobileControlCreate, mobileControlDelete, mobileControlSet

function: mobileControlGet, mobileControlTarget, mobileControls

message: scrollerEndDecelerate, scrollerBeginDecelerate, scrollerBeginDrag, scrollerEndDrag, scrollerDidScroll

Compatibility and Support

Introduced

LiveCode 4.5.3

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?